package com.edu.chat.facade.model.dto;

import com.edu.chat.facade.model.BaseDTO;
import com.edu.chat.facade.model.enums.MsgTypeEnum;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * @program: KQAIA
 * @description:
 * @author: 无恙
 * @create: 2025-03-23 18:32
 **/

@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
public class HistoryMsgDTO extends BaseDTO {

	/**
	 * 消息ID
	 */
	private String id;

	/**
	 * 会话ID
	 */
	private String sessionId;

	/**
	 * 用户ID
	 */
	private String fromId;

	/**
	 * 消息类型
	 */
	private MsgTypeEnum type;

	/**
	 * 消息内容
	 */
	private String content;
}
